package cn.shengchao.examstar.me.course.dto;

import lombok.Builder;
import lombok.Data;

/**
 * @program: examstarapi
 * @description: 包含用户解锁状态的课节信息DTO
 * @author: Gemini
 * @create: 2025-04-19
 */
@Data
@Builder
public class LessonWithUnlockStatusDto {
    /**
     * 课节ID
     */
    private Long lessonId;

    /**
     * 课节名称
     */
    private String name;

    /**
     * 时长
     */
    private Double duration;

    /**
     * 是否已解锁
     */
    private boolean unlocked;

    /**
     * 视频播放地址 (如果未解锁则为null)
     */
    private String playUrl;
} 